package com.fortune.vo.client;

import java.util.Date;

import io.swagger.annotations.ApiModelProperty;

public class ClientDetail {
	@ApiModelProperty(example="客户id")
	private String id;
	@ApiModelProperty(example="客户名称")
	private String name;
	@ApiModelProperty(example="联系人姓名")
	private String principalName;
	@ApiModelProperty(example="联系人手机号")
	private String principalPhone;
	@ApiModelProperty(example="店面地址")
	private String address;
	@ApiModelProperty(example="经度")
	private float longitude;
	@ApiModelProperty(example="纬度")
	private float latitude;
	@ApiModelProperty(example="回访周期")
	private float returnPeriod;
	@ApiModelProperty(example="上次回访日期")
	private Date lastReturnTime;
	@ApiModelProperty(example="预期下次订货日期")
	private Date nextOrderTime;
	@ApiModelProperty(example="账户状态")
	private String status;
	@ApiModelProperty(example = "历史订单数量")
	private int historyOrderNum;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPrincipalName() {
		return principalName;
	}
	public void setPrincipalName(String principalName) {
		this.principalName = principalName;
	}
	public String getPrincipalPhone() {
		return principalPhone;
	}
	public void setPrincipalPhone(String principalPhone) {
		this.principalPhone = principalPhone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public float getLongitude() {
		return longitude;
	}
	public void setLongitude(float longitude) {
		this.longitude = longitude;
	}
	public float getLatitude() {
		return latitude;
	}
	public void setLatitude(float latitude) {
		this.latitude = latitude;
	}
	public float getReturnPeriod() {
		return returnPeriod;
	}
	public void setReturnPeriod(float returnPeriod) {
		this.returnPeriod = returnPeriod;
	}
	public Date getLastReturnTime() {
		return lastReturnTime;
	}
	public void setLastReturnTime(Date lastReturnTime) {
		this.lastReturnTime = lastReturnTime;
	}
	public Date getNextOrderTime() {
		return nextOrderTime;
	}
	public void setNextOrderTime(Date nextOrderTime) {
		this.nextOrderTime = nextOrderTime;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public int getHistoryOrderNum() {
		return historyOrderNum;
	}
	public void setHistoryOrderNum(int historyOrderNum) {
		this.historyOrderNum = historyOrderNum;
	}

	@Override
	public String toString() {
		return "ClientDetail{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				", principalName='" + principalName + '\'' +
				", principalPhone='" + principalPhone + '\'' +
				", address='" + address + '\'' +
				", longitude=" + longitude +
				", latitude=" + latitude +
				", returnPeriod=" + returnPeriod +
				", lastReturnTime=" + lastReturnTime +
				", nextOrderTime=" + nextOrderTime +
				", status='" + status + '\'' +
				", historyOrderNum=" + historyOrderNum +
				'}';
	}
}
